home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c-part1 / 6462 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  1.3 KB

  1. Path: newshost.lanl.gov!tanmoy
  2. From: tanmoy@qcd.lanl.gov (Tanmoy Bhattacharya)
  3. Newsgroups: comp.lang.c
  4. Subject: Re: HELP: Illegal Pointer Arithmetic
  5. Date: 24 Feb 1996 18:22:19 GMT
  6. Organization: Los Alamos National Laboratory
  7. Distribution: world
  8. Message-ID: <TANMOY.96Feb24112219@qcd.lanl.gov>
  9. References: <4gj0ug$730@news.one.net>
  10.     <Pine.A32.3.91.960223204633.162921A-100000@red.weeg.uiowa.edu>
  11. NNTP-Posting-Host: qcd.lanl.gov
  12. Mime-Version: 1.0
  13. Content-Type: text
  14. In-reply-to: The Amorphous Mass's message of Fri, 23 Feb 1996 20:51:57 -0600
  15.  
  16. In article <Pine.A32.3.91.960223204633.162921A-100000@red.weeg.uiowa.edu>
  17. The Amorphous Mass <robinson@blue.weeg.uiowa.edu> writes:
  18. <snip>
  19. TAM: >             buffer [strlen (buffer) - 1] = "\0";
  20. TAM: 
  21. TAM:   Here's your problem.  You're comparing a char (buffer[x]) to a pointer 
  22.                                     ^^^^^^^^^
  23. ???
  24.  
  25. Cheers
  26. Tanmoy
  27. --
  28. tanmoy@qcd.lanl.gov(128.165.23.46) DECNET: BETA::"tanmoy@lanl.gov"(1.218=1242)
  29. Tanmoy Bhattacharya O:T-8(MS B285)LANL,NM87545 H:#9,3000,Trinity Drive,NM87544
  30. Others see <gopher://yaleinfo.yale.edu:7700/00/Internet-People/internet-mail>,
  31. <http://alpha.acast.nova.edu/cgi-bin/inmgq.pl>or<ftp://csd4.csd.uwm.edu/pub/
  32. internetwork-mail-guide>. -- <http://nqcd.lanl.gov/people/tanmoy/tanmoy.html>
  33. fax: 1 (505) 665 3003   voice: 1 (505) 665 4733    [ Home: 1 (505) 662 5596 ]
  34.